package cn.ddy.beans;

import lombok.Data;
import lombok.extern.log4j.Log4j;

/**
 * 订单详情的实体
 */
@Data
@Log4j
public class OrderItem {
    private String itemid; //id
    private int quantity; //数量
    private double subtotal; //小计

    private Product product;    // 订单项中的商品信息
    private Order order;        // 订单项属于哪个订单

}